//@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'Projection View'
//@Metadata.ignorePropagatedAnnotations: true
//@Metadata.allowExtensions: true
@ObjectModel.semanticKey: [ 'SalesDocument' ]    /*key*/
//@Search.searchable: true /*SEARCH 过滤条件*/
//@ObjectModel.resultSet.sizeCategory: #XS /*筛选条件的显示效果*/ -- #XS drop dowm menu for value help

@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Projection View for ScheduleLine'

define root view entity ZTEST_CDS_PROJ
  // provider contract transactional_query
  provider contract transactional_interface
  as projection on ztset_cds
{
     //@Search.defaultSearchElement: true  /*筛选条件*/
     // @EndUserText:{ label:'SalesDocument number' , quickInfo: 'SalesDocument'} /*字段描述*/--quickInfo:光标悬浮时显示的快捷内容
   //@Consumption.valueHelpDefinition: [{ entity : { name: 'ZTEST_CDS_PROJ' ,element:'SalesDocument' } } ] /*参考字段*/
  key SalesDocument,      
  key SalesDocumentItem,
  key ScheduleLine,
  OrderQuantityUnit,
  ScheduleLineOrderQuantity,
  ConfirmedDeliveryDate
      
}
